package com.booksmanager.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.booksmanager.pojo.BoorowBooks;
import com.booksmanager.dao.BoorowBooksMapper;
import com.booksmanager.service.BoorowBooksService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 * 借书表 服务实现类
 * </p>
 *
 * @author Yan
 * @since 2020-05-24
 */
@Service
public class BoorowBooksServiceImpl extends ServiceImpl<BoorowBooksMapper, BoorowBooks> implements BoorowBooksService {

    @Autowired
    private BoorowBooksMapper boorowBooksMapper;
    @Override
    public Page<Map<String, Object>> queryBoorowBooks(Page page, BoorowBooks boorowBooks) {
        return boorowBooksMapper.queryBoorowBooks(page, boorowBooks);
    }
}
